package com.atcx.service;

import com.atcx.pojo.Notices;
import com.atcx.util.PageResult;
import com.atcx.util.QueryPageBean;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author pangShu
 * @since 2022-03-23
 */
public interface NoticesService extends IService<Notices> {

    public int  addNotices(Notices notices);

    public int updateNotices(Notices notices);

    public int  deleteNotices(int id);

    public PageResult findByPage(QueryPageBean queryPageBean);

    public Notices getNotice();

    public PageResult findByPageWithUser(QueryPageBean queryPageBean);

    public Notices getNoticeByUser(String name);

    public Notices getNoticeByClass(String name);
}
